package controller.strategy;

import model.spring.AbstractAddress;
import model.spring.AddressList;

public class LowBudget implements Strategy {

	private String message;
	
	@Override
	public void doWork(AddressList addressList) {
		if (addressList.size() != 0 ) {
			for (int i = 0 ; i < addressList.size() ; i++ )
				// all addresses have an emailaddress, also they can recieve an email
				send(message,addressList.get(i));
		}
	}

	@Override
	public void send(String message, AbstractAddress address) {
		// sends an email to all addresses
	}

}
